import { Component, OnInit } from '@angular/core';
import {NavService} from "../../../services/nav/nav.service";

@Component({
  selector: 'app-management-home',
  templateUrl: './management-home.component.html',
  styleUrls: ['./management-home.component.less']
})
export class ManagementHomeComponent implements OnInit {

  indexContent: number = 0;

  constructor(private navService: NavService) {
  }

  ngOnInit() {
    /*this.indexContent = this.navService.indexContent;*/
  }

  changeContent(event: number) {
    console.log(this.indexContent)
    console.log(event);
    this.indexContent=event;
  }
}
